package org.example;

import com.fasterxml.jackson.core.JsonProcessingException;
import jakarta.annotation.Resource;
import org.example.producer.EventProducer;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class SpringBoot03KafkaBaseApplicationTests {

    @Resource
    private EventProducer eventProducer;

    @Test
    public void test01() throws JsonProcessingException {
        eventProducer.sendEvent();
    }

}
